Readjusting the auth controller

Updated to ormauth instead of hand built.