Made it like a static content generation (local only) with the help of codekit
login fn
updated mishap api