Slight CSS change for tables, added functions to User model