Removing enqueue of global.js, the legacy js file from bp-default, which was being manually called from inside the theme
Ensuring that log in form from homepage redirects back to home page after logging in