login process
implement login
define logic for user , admin and undefine