basic login functionality successful but not formated