fixed creating already logged user