Cleaned Up Code In Auth Controller and Index Controller