cleaned up code
added logic to landing controller