Removed unneed code
updated logic for signup display
wrapped function for better plugin dependancy management