move login view to validate directory