Add topic related codes and refactor login page
Add TopicBean and TopicSubscription