OAuth table functionality

Added functionality server side and client side for the oauth table.

Added password to database.

Bug fix:
Added if statements to check for empty resultsets in the database class.