bug in login fixed