added the log-in form for sessions