Validation added to login screen