fixed sign in form
added error checking on adding connections
style changes