added types and database calls for challenges and announcements to userside.sql, DBConnection, and each type's java file