added login and register basic functionality