Fixed Has No Context_Data Attribute for login