modified style and functionality login