Modified login fn

Done:
 - modified login ux from wide html to modal