login and user table creation fixed