Bug on login fixed