Add a create session form in attach

A create session form is added to take the user's username and password
and create a new session by calling a remote api using jsonp request.
The api will return sid, rid and fulljid upon creating a session