Commit only will be called if login was successfull, i.e. authentication return true