repaired bugs, refactored code, added login partial view