Created separate login controller