user login with databas, salt password and session