refactored Panels
created loginForm