Stargazer (*Just for review, Do not merge*)

The logic for retrieving the starred modules for a particular user is incorrect... I have commented on  the respective scripts.
@oalders : I am working on the same, though if possible please do check the comments. 
Thanks a lot :)
I don't think you need this variable.  It looks like you're only using it once.