login screen with multiple sizes and and api issue resolved