added button handling, viewing all assignments, and adding classes