Create #login and #logout controllers