Small things done
Fixed the login issue with request.user.erp_profile