Athentication form: refactoring
Authentication form: check session