Fixed login redirect and added responsive chat