db = require "lapis.db"
import Model from require "lapis.db.model"
export class Users extends Model
@timestamp: true
write_session: (r) =>
r.session.user = @id
r.session.sippw = @registrar_password