Working Login. Trying converting to cntrlr