Fixed bug in loging in attempts field