added methods in option repository. user can now login