Fixed bug on first login