Updated the phone application to maintain a session with a server. Login data is stored on SQLite server on the phone. Had to change the database from postgres to mysql on the Server as the PHP readily available from apt-get does not support postgres connect functions. Now, moving on to implement incremental localization on the server. This can be done by storing the intermediate results in a matlab object and retrieving that as and when updates in location are received from the phone.