updated backend login
some fix
finished login frontend