Made user login upon creating account