building login and register forms