Add logout function

Also add 後台 for user who login