corrects typo in application controller causing registration to not login