Tidied up login modal if login fails
Tidied up home controller - doesnt make unnecessary db calls anymore
Started work on JSON request to previous assessments