sql changed
form && change model to adapt to db && logout