fix for logos
added login function