added logout controller
added login menu directive