Misc

+ Added baseview which has functions to include nav and footer
+ Misc functions file
Login Fixes

+ Fixed problems with login
+ Added functionality
+ Stopped login form from autocompleting
DAO Fixes

+ Fixed bugs with DAO
+ Added function to convert mysqli result to array