login controller

Signed-off-by: Nader Hendawi <naderhen@gmail.com>