Login and registration with md5 and add access_token to db