Logs in the user automatically so that the sql table file is loaded