changed modal show to modal() for not logged in users