Fixed login connection to database

Added example graph
Fixed login and register form elements to be Bootstrap components