move login and register forms into partials