fix an error and limit one login at a time for a certain user