add an example login controller