basic frame with login and register