adding methods for sign in ipad
added helper file for ipad