-fixed a bug with login in that a user with an invalid role will not return with a callback (returns the appropriate error message as well)
-permissions.js now also checks if user is logged in
-ticketParams did not reset the search and filter parameters in some cases (such as user refreshing page). this has been fixed now
-ensured that users only see tickets that pertain to them
-fixed a bug with the getTickets database function in which the "assigned_to" and "altered_by" fields were accidentally swapped