Added decorator for logged in