Changed find to find_by in login#create