login working frontend. and added prebuild script.