error_message deleted and login accessor added