1. Fixed issues on login screen for iPad version
2. Fixed warnings