Implements login success & error functionality but still uses register input fields