Fixed bug preventing first user login