Added login functionality

Added connect library

Updated templates to show more features
bugfix