Moved login form to separate component file