adding homepage logic for first user