added login and register forms