Add function get_user_by_username
Fix SQL query to get active session
Add settings.pl - settings page for users